/*
*所有关于SysDepartment类的业务代码接口应在此处编写
*/
using TradeDataAPI.Entity.DomainModels;
using System.Collections.Generic;
using System.Threading.Tasks;

namespace TradeDataAPI.System.IServices
{
    public partial interface ISysDepartmentService
    {


 

        /// <summary>
        /// 根据部门Id获取部门信息
        /// </summary>
        /// <param name="DepartmentId"></param>
        /// <returns></returns>
        Task<SysDepartment> GetDeptByDepartmentId(string DepartmentId);
        Task<List<SysDepartment>> GetAllDeptIds(int Factory);
    }
}
